package com.web.portal.pojo.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.web.portal.pojo.PortalUser;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "Activity")
@TableName("activity")
public class ActivityAndUser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("activity_code")
    private String activityCode;
    @TableField("activity_content")
    private String activityContent;
    @TableField("type")
    private String type;
    @TableField("participants")
    private String participants;

    private List<PortalUser> portalUser;
}
